package com.xiyue.leaspring.util;

public class MathUtils {
	private MathUtils() {
		
	}
	
	public static double round(double num,int scale) {
		return Math.round(num*Math.pow(10.0,scale))/Math.pow(10.0, scale);
	}
	
}
